const TOKEN_KEY = 'itcast-geek-pc'
// 获取token
export const getToken = () => localStorage.getItem(TOKEN_KEY)
// 存储token
export const setToken = token => localStorage.setItem(TOKEN_KEY, token)
// 清除token
export const clearToken = () => localStorage.removeItem(TOKEN_KEY)